@echo off
chcp 65001
echo 当前盘符和路径：%~dp0
set CUR_DIR=%~dp0
cd /d %CUR_DIR%/..
echo 构建程序....
call mvn clean package
echo 构建程序结束...
echo 构建 docker image..
docker build -t ribbon-server ./target -f ./Dockerfile
echo 构建 docker image 结束..
pause